package com.dmap.analysispoint.rpc.fallback;

import com.dmap.analysispoint.bo.CompanyInfoBo;
import com.dmap.analysispoint.rpc.RpcCompanyInfoService;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * \* User:zhouhao
 * \* Date:30/05/2018
 * \* Description:
 * \*
 */
@Service
public class RpcCompanyInfoServiceFallback implements RpcCompanyInfoService {
    @Override
    public CompanyInfoBo selectByProjectId(String projectId) {
        return new CompanyInfoBo();
    }

    @Override
    public List<String> selectByCompanyId(Long companyId) {
        return Collections.emptyList();
    }
}
